home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / scrnat.z / scrnat
Encoding:
Text File  |  2002-10-03  |  2.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ssssccccrrrrnnnnaaaatttt((((3333GGGG))))                                                          ssssccccrrrrnnnnaaaatttt((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ssssccccrrrrnnnnaaaatttt - attaches the input focus to a screen
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      iiiinnnntttteeeeggggeeeerrrr****4444 ffffuuuunnnnccccttttiiiioooonnnn ssssccccrrrrnnnnaaaatttt((((ggggssssnnnnrrrr))))
  13.      iiiinnnntttteeeeggggeeeerrrr****4444 ggggssssnnnnrrrr
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _g_s_n_r   expects a screen number or the symbolic constant, INFOCU.
  17.  
  18. FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  19.      The function returns the screen that previously had input focus, or -1 if
  20.      there was an error (e.g., _g_s_n_r is not a valid screen number).
  21.  
  22. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.      ssssccccrrrrnnnnaaaatttt attaches the input focus to the specified screen.  It waits for
  24.      any window manager or menu interaction to be completed before doing the
  25.      attach.  Calling ssssccccrrrrnnnnaaaatttt with the argument INFOCU simply returns the
  26.      screen that currently has the input focus.
  27.  
  28.      On error, ssssccccrrrrnnnnaaaatttt leaves the input focus unchanged.
  29.  
  30. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  31.      getgde, getwsc, scrnse
  32.  
  33. NNNNOOOOTTTTEEEESSSS
  34.      This routine is available only in immediate mode.
  35.  
  36.      Use ggggeeeettttggggddddeeee((((GGGGDDDDNNNNSSSSCCCCRRRR)))) to determine the number of screens available to your
  37.      program.  Screens are numbered starting from zero.
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.